/*

* TCSS 422, Project 2 (Scheduler Simulation)

* Team 9 Name: blueraccoon422

* Team 9 Group Members: Jacob Hall, Jacob Mertens, Diana Gorun, Alex Stringham

* File Name: ProducerConsumer.c

* Date: May 22, 2013

*/

#include "ProducerConsumer.h"

//SharedMemory empty;
//SharedMemory full;

void producer() {
//        semaphore_down(&empty);
        insertItem();
//        semaphore_up(&full);
//        sleep(1);
}

void consumer(void) {
//        semaphore_down(&full);
        removeItem();
//        semaphore_up(&empty);
//        sleep(1);
}

int nextRead = 0;
int nextWrite = 0;

void insertItem() {
//        shared_memory[current_process->memory_location].count++;
}

void removeItem() {
//        shared_memory[current_process->memory_location].count--;
}
